<?php 
$CI =& get_instance();
$CI->load->library("admin/admin_header_lib");
$CI->admin_header_lib->display_header_element(array("script"=>array("jquery-1.4.2","jquery.validate")));
$CI->admin_header_lib->display_header();

$CI->load->library('admin/admin_sidebar_lib');
$CI->admin_sidebar_lib->display_sidebar();

?>


<?php //$this->load->view(TEMPLATE_NAME.'/admin/header');?>
<?php //$this->load->view(TEMPLATE_NAME.'/admin/side_left');?>
<div class="admin_right">
<div style="height:7px;"></div>
		<div class="divList_10">
				<h2 class="head02">admin contacts</h2>
                <div class="line"></div>
                <div>
                <?php 
				$attrbutes = array('class'=>'','id' => 'admin_contact_form');
				echo form_open('admin/admin_contact',$attrbutes);?>
                <?php foreach($query as $row){?>
                <ul>
                <li><p class="white_bold">E-mail<?php echo $row->admin_email_order;?>:</p></li>
                <li>
                <input size="50" type="text" name="email<?php echo $row->admin_email_order;?>" id="email<?php echo $row->admin_email_order;?>" value="<?php echo $row->email_address;?>" />
                <?php echo form_error('email'.$row->admin_email_order)?>
                </li>
                <div class="height5"></div>
                <?php }?>
                <div class="line6"></div>
                <input type="submit" name="submit" id="submit" value="Submit" />
                <div class="line6"></div>
                <?php echo form_close();?>
                
                </div>
           </div>
</div><!-- page -->
<?php //$this->load->view(TEMPLATE_NAME.'/admin/footer');
$CI->load->library('admin/admin_footer_lib');
$CI->admin_footer_lib->display_footer();

?>
